Method, terminal, and system for communication pairing of a digital television terminal and a mobile terminal

ABSTRACT

Embodiments of the present disclosure disclose a method, a terminal, and a system for communication pairing of a digital television terminal and a mobile terminal. The method for communication pairing with a digital television terminal includes: acquiring communication connection information of the digital television terminal, wherein the communication connection information includes communication hardware information of the digital television terminal; performing encoding according to the communication connection information to generate a two-dimensional code image; displaying the two-dimensional code image; establishing a link connection to a mobile terminal that acquires the two-dimensional code image by using a camera; and performing communication pairing with the mobile terminal by means of the established link connection. By using the present disclosure, communication connection and pairing between a mobile terminal and a digital television terminal can be completed easily and conveniently.

RELATED APPLICATION

This application is a continuation of PCT Application No.PCT/CN2013/087060, filed on Nov. 13, 2013, which claims priority toChinese Patent Application No. 201210570746.7, entitled “METHOD,TERMINAL, AND SYSTEM FOR COMMUNICATION PAIRING WITH DIGITAL TELEVISIONTERMINAL” and filed on Dec. 25, 2012, which is incorporated by referencein its entirety.

FIELD OF THE TECHNOLOGY

The present disclosure relates to the field of communications, and inparticular, to a method, a terminal, and a system for communicationpairing of a digital television terminal and a mobile terminal.

BACKGROUND OF THE DISCLOSURE

Communication between an existing intelligent handheld device and atelevision control device (such as a set-top box) generally needspairing and connection through wireless fidelity (Wi-Fi, referring to awireless communication technology) or Bluetooth. However, users may needto switch to Wi-Fi or Bluetooth of the intelligent handheld device topair with the television control device. Users may also need to input apassword configured by the television control device to complete atrusted connection. Therefore, the pairing and connection process may bevery complex, and may require users to record and input a large amountof information.

SUMMARY

The existing processes of pairing and connection between an intelligenthandheld device and a television control device by means of Wi-Fi orBluetooth is very complex. Users often need to record and input a largeamount of information.

In view of this, according to one aspect of the present disclosure, amethod, a terminal, and a system for communication pairing between amobile terminal and a digital television terminal are provided. Themethod can simply and conveniently complete the communication connectionand pairing process between a mobile terminal and a digital televisionterminal.

In order to solve the foregoing technical problems, a first aspect ofembodiments of the present disclosure provides a method forcommunication pairing of a mobile terminal with a digital televisionterminal. The method includes acquiring communication connectioninformation of the digital television terminal, the communicationconnection information including communication hardware information ofthe digital television terminal; performing encoding according to thecommunication connection information to generate a two-dimensional codeimage; displaying the two-dimensional code image; establishing a linkconnection to a mobile terminal that acquires the two-dimensional codeimage by using a camera; and performing communication pairing with themobile terminal by means of the established link connection.

Another aspect of the embodiments of the present disclosure furtherprovides a method for communication pairing a mobile terminal with adigital television terminal. The method includes acquiring, by using acamera, a two-dimensional code image displayed by the digital televisionterminal; decoding the two-dimensional code image to obtaincommunication connection information of the digital television terminal,the communication connection information including communicationhardware information of the digital television terminal; establishing alink connection to the digital television terminal according to thecommunication connection information of the digital television terminal;and performing communication pairing with the digital televisionterminal by means of the established link connection.

Another aspect of the embodiments of the present disclosure furtherprovides a digital television terminal. The digital television terminalincludes a communication information acquiring module, configured toacquire communication connection information of the digital televisionterminal, the communication connection information includingcommunication hardware information of the digital television terminal; atwo-dimensional code encoding module, configured to perform encodingaccording to the communication connection information to generate atwo-dimensional code image; a display module, configured to display thetwo-dimensional code image; a link connection module, configured toestablish a link connection to a mobile terminal that acquires thetwo-dimensional code image by using a camera; and a communicationpairing module, configured to perform communication pairing with themobile terminal by means of the established link connection.

Another aspect of the embodiments of the present disclosure furtherprovides a mobile terminal. The mobile terminal includes atwo-dimensional code acquiring module, configured to acquire, by using acamera, a two-dimensional code image displayed by the digital televisionterminal; a two-dimensional code decoding module, configured to decodethe two-dimensional code image to obtain communication connectioninformation of the digital television terminal, the communicationconnection information including communication hardware information ofthe digital television terminal; a link connection module, configured toestablish a link connection to the digital television terminal accordingto the communication connection information of the digital televisionterminal; and a communication pairing module, configured to performcommunication pairing with the digital television terminal by means ofthe established link connection.

Another aspect of the embodiments of the present disclosure furtherprovides a system for communication pairing with a digital televisionterminal. The system includes the digital television terminal accordingto the embodiments of the present disclosure and the mobile terminalaccording to the fourth aspect of the embodiments of the presentdisclosure. The digital television terminal is configured to acquirecommunication connection information of the digital television terminal,the communication connection information including communicationhardware information of the digital television terminal, performencoding according to the communication connection information togenerate a two-dimensional code image, and display the two-dimensionalcode image; and the mobile terminal being configured to acquire, byusing a camera, the two-dimensional code image displayed by the digitaltelevision terminal, decode the two-dimensional code image to obtain thecommunication connection information of the digital television terminal,establish a link connection to the digital television terminal accordingto the communication connection information of the digital televisionterminal, and perform communication pairing with the digital televisionterminal by means of the established link connection.

It can be known from the foregoing technical solutions that in theforegoing aspects of the present disclosure, communication connectioninformation of a digital television terminal is encoded into atwo-dimensional code image, and the two-dimensional code image isdisplayed, so that a mobile terminal can conveniently acquire thecommunication connection information of the digital television terminal.Further communication connection and pairing between the mobile terminaland the digital television terminal are completed simply andconveniently, which greatly simplifies a user operation process.

BRIEF DESCRIPTION OF THE DRAWINGS

To describe the technical solutions of the embodiments of the presentdisclosure or the existing technology more clearly, the followingbriefly introduces the accompanying drawings required for describing theembodiments or the existing technology. Apparently, the accompanyingdrawings in the following description show only some embodiments of thepresent disclosure, and a person of ordinary skill in the art may stillderive other drawings from these accompanying drawings without creativeefforts.

FIG. 1 is a schematic flowchart of a method for communication pairingwith a digital television terminal according to an embodiment of thepresent disclosure.

FIG. 2 is a schematic structural diagram of a digital televisionterminal according to an embodiment of the present disclosure.

FIG. 3 is a schematic structural diagram of a mobile terminal accordingto an embodiment of the present disclosure.

FIG. 4 is a schematic structural diagram of a system for communicationpairing with a digital television terminal according to an embodiment ofthe present disclosure.

DESCRIPTION OF EMBODIMENTS

The following describes embodiments of the present disclosure in detailwith reference to the accompanying drawings in the embodiments of thepresent disclosure. Apparently, the described embodiments are some ofthe embodiments of the present disclosure rather than all of theembodiments. All other embodiments obtained by a person of ordinaryskill in the art based on the embodiments of the present disclosurewithout creative efforts shall fall within the protection scope of thepresent disclosure.

In the embodiments of the present disclosure, the digital televisionterminal may be, but is not limited to, a terminal that can be used toperform digital television services, such as a digital televisionset-top box, an intelligent television, or an integrated digitaltelevision. The mobile terminal mentioned in the embodiments of thepresent disclosure may include, but is not limited to, a mobile devicethat has a communication function and an image acquiring function, suchas a tablet computer, a mobile phone, a smart phone, an e-reader, or anotebook computer.

FIG. 1 is a schematic flowchart of a method for communication pairingwith a digital television terminal according to an embodiment of thepresent disclosure. As shown in the figure, the method for communicationpairing with a digital television terminal according to this embodimentof the present disclosure includes at least the following steps.

Step S101: A digital television terminal acquires communicationconnection information of the digital television terminal. Thecommunication connection information includes communication hardwareinformation of the digital television terminal.

In this embodiment of the present disclosure, the digital televisionterminal may read the communication hardware information of the digitaltelevision terminal, such as a media access control (MAC) address of anetwork, or a physical address of Bluetooth. The communicationconnection information may further include other required informationthat can be used by a mobile terminal to establish a communication linkconnection to the digital television terminal, such as a username orpassword of Wi-Fi on which the digital television terminal is located.Further, in order to ensure security of the communication connection,the digital television terminal may further randomly generate identityauthentication information (for example, an identity key), and theidentity authentication information may be added to the communicationconnection information, so as to perform identity authentication on themobile terminal when communication pairing is performed. Only a mobileterminal that obtains the identity authentication information cancomplete communication pairing with the digital television terminal.

Step S102: The digital television terminal performs encoding accordingto the communication connection information to generate atwo-dimensional code image.

In this embodiment of the present disclosure, the digital televisionterminal optionally first serializes the communication connectioninformation acquired in step S101, and then the digital televisionterminal optionally encrypts the serialized communication connectioninformation so as to ensure that information included in thetwo-dimensional code image is not embezzled by another terminal orprogram. For example, the digital television terminal encrypts thecommunication connection information by using a preset RSA (asymmetriccryptographic algorithm) private key, and encodes the serialized andencrypted communication connection information, to obtain acorresponding two-dimensional code image. A public key corresponding tothe RSA private key may be pre-stored in a mobile terminal that performscommunication pairing with the digital television terminal.

Step S103: The digital television terminal displays the two-dimensionalcode image.

In an embodiment of the present disclosure, the digital televisionterminal may display the two-dimensional code image obtained in stepS102 on a screen.

Step S104: A mobile terminal acquires, by using a camera, thetwo-dimensional code image displayed by the digital television terminal.

Step S105: The mobile terminal decodes the two-dimensional code image toobtain the communication connection information of the digitaltelevision terminal.

In this embodiment of the present disclosure, as mentioned in step S101,the communication connection information of the digital televisionterminal included in the two-dimensional code image includescommunication hardware information of the digital television terminal.The communication connection information of the digital televisionterminal may include other required information that can be used by themobile terminal to establish a communication link connection to thedigital television terminal, and may further include identityauthentication information randomly generated by the digital televisionterminal. In addition, if the communication connection information ofthe digital television terminal is serialized and encrypted before thetwo-dimensional code image is generated in step S102, the mobileterminal may be required to perform corresponding decryption andcorresponding deserialization on a decoding result of thetwo-dimensional code image, to obtain the communication connectioninformation of the digital television terminal. For example, in theforegoing step S102, the communication connection information isencrypted by using the preset RSA private key. Then, in this step, thetwo-dimensional code image needs to be decoded by using an RSA publickey pre-stored in the mobile terminal, and an obtained result needs tobe decrypted.

Step S106: The mobile terminal establishes a link connection to thedigital television terminal according to the communication connectioninformation of the digital television terminal.

In this embodiment of the present disclosure, the mobile terminal mayinitiate establishment of the link connection to the digital televisionterminal according to the communication hardware information of thedigital television terminal in the communication connection informationof the digital television terminal. If communication with the digitaltelevision terminal further requires other information (such as ausername or password of Wi-Fi), the required information, such as ausername or password of Wi-Fi, can also be extracted from thecommunication connection information obtained from the two-dimensionalcode image.

Step S107: The mobile terminal performs communication pairing with thedigital television terminal by means of the established link connection.

In this embodiment of the present disclosure, after the link connectionis successfully established in step S106, the mobile terminal mayperform communication pairing with the digital television terminal bymeans of the successfully established communication link. Optionally,the mobile terminal may send a pairing authentication request to thedigital television terminal by means of the established link connection,where the pairing authentication request carries the identityauthentication information obtained in step S105. The digital televisionterminal determines whether the identity authentication information inthe pairing authentication request is the identity authenticationinformation randomly generated by the digital television terminal instep S101. If the identity authentication information in the pairingauthentication request is the identity authentication informationrandomly generated by the digital television terminal in step S101, thepairing authentication request is accepted, that is, communicationpairing with the mobile terminal succeeds. After pairing between the twosucceeds, various remote-control signals and data transmission servicescan be performed by means of the communication link established in stepS106.

The foregoing describes in detail a method for communication pairingwith a digital television terminal according to an embodiment of thepresent disclosure.

According to another embodiment of the present disclosure, a digitaltelevision terminal is further provided.

FIG. 2 is a schematic structural diagram of a digital televisionterminal according to an embodiment of the present disclosure. As shownin the figure, in this embodiment of the present disclosure, the digitaltelevision terminal includes at least: a communication informationacquiring module 110, a two-dimensional code encoding module 120, adisplay module 130, a link connection module 140, and a communicationpairing module 150.

The communication information acquiring module 110 acquirescommunication connection information of the digital television terminal,where the communication connection information includes communicationhardware information of the digital television terminal.

In this embodiment of the present disclosure, the communicationinformation acquiring module 110 may read the communication hardwareinformation of the digital television terminal, such as a MAC address ofa network, or a physical address of Bluetooth. The communicationconnection information may further include other required informationthat can be used by a mobile terminal to establish a communication linkconnection to the digital television terminal, for example, may furtherinclude a username or password of Wi-Fi on which the digital televisionterminal is located. Further, in order to ensure security of thecommunication connection, the communication information acquiring module110 may further randomly generate identity authentication information(for example, an identity key), and the identity authenticationinformation is added to the communication connection information, so asto perform identity authentication on the mobile terminal whencommunication pairing is performed. Only a mobile terminal that obtainsthe identity authentication information can complete communicationpairing with the digital television terminal.

The two-dimensional code encoding module 120 performs encoding accordingto the communication connection information to generate atwo-dimensional code image.

In this embodiment of the present disclosure, the two-dimensional codeencoding module 120 optionally first serializes the communicationconnection information acquired by the communication informationacquiring module 110. Then the two-dimensional code encoding module 120optionally encrypts the serialized communication connection informationso as to ensure that information included in the two-dimensional codeimage is not embezzled by another terminal or program, and encodes theserialized and encrypted communication connection information, to obtaina corresponding two-dimensional code image. The two-dimensional codeencoding module 120 may further include an encryption unit and anencoding unit.

The encryption unit encrypts the communication connection informationacquired by the communication information acquiring module 110, forexample, encrypts the communication connection information by using apreset RSA private key. A corresponding RSA public key may be pre-storedin a mobile terminal that performs communication pairing with thedigital television terminal.

The encoding unit performs encoding according to the communicationconnection information encrypted by the encryption unit, to generate thetwo-dimensional code image.

The display module 130 displays the two-dimensional code image.

In this embodiment of the present disclosure, the display module 130 maydisplay, on a screen of the digital television terminal, thetwo-dimensional code image obtained by the two-dimensional code encodingmodule 120.

The link connection module 140 establishes a link connection to a mobileterminal that acquires the two-dimensional code image by using a camera.

The communication pairing module 150 performs communication pairing withthe mobile terminal by means of the established link connection. In thisembodiment of the present disclosure, the communication pairing module150 may further include a pairing request acquiring unit and anauthentication unit.

The pairing request acquiring unit acquires, by means of the establishedlink connection, a pairing authentication request sent by the mobileterminal.

In one embodiment, the authentication unit authenticates the pairingauthentication request, and accepts the pairing authentication request,that is, successfully performs communication pairing with the mobileterminal, if the pairing authentication request carries the identityauthentication information randomly generated by the communicationinformation acquiring module 110.

The foregoing describes in detail a digital television terminalaccording to an embodiment of the present disclosure.

According to another embodiment of the present disclosure, a mobileterminal is further provided.

FIG. 3 is a schematic structural diagram of a mobile terminal accordingto an embodiment of the present disclosure. As shown in the figure, inthis embodiment of the present disclosure, the mobile terminal includes,at least, a two-dimensional code acquiring module 210, a two-dimensionalcode decoding module 220, a link connection module 230, and acommunication pairing module 240.

The two-dimensional code acquiring module 210 acquires, by using acamera, a two-dimensional code image displayed by the digital televisionterminal.

The two-dimensional code decoding module 220 decodes the two-dimensionalcode image to obtain communication connection information of the digitaltelevision terminal. The communication connection information includescommunication hardware information of the digital television terminal.

In this embodiment of the present disclosure, the communicationconnection information of the digital television terminal included inthe two-dimensional code image includes the communication hardwareinformation of the digital television terminal, and may further includeother required information that can be used by a mobile terminal toestablish a communication link connection to the digital televisionterminal, for example, may further include a username or password ofWi-Fi on which the digital television terminal is located. Further, inorder to ensure security of the communication connection, thecommunication connection information may further include identityauthentication information randomly generated by the digital televisionterminal. In addition, if the digital television terminal serializes andencrypts the communication connection information of the digitaltelevision terminal before the digital television terminal generates thetwo-dimensional code image, the two-dimensional code decoding module 220further needs to perform corresponding decryption and correspondingdeserialization on a decoding result of the two-dimensional code imageto obtain the communication connection information of the digitaltelevision terminal. The two-dimensional code decoding module 220 mayfurther include a decoding unit and a decryption unit.

The decoding unit decodes the two-dimensional code image.

The decryption unit decrypts a decoding result of the two-dimensionalcode image to obtain the communication connection information of thedigital television terminal. For example, it is mentioned above that thedigital television terminal encrypts the communication connectioninformation by using a preset RSA private key. Then, the decryption unitneeds to decrypt, by using a corresponding RSA public key pre-stored inthe mobile terminal, the decoding result obtained by the decoding unit.

The link connection module 230 establishes a link connection to thedigital television terminal according to the communication connectioninformation of the digital television terminal.

In this embodiment of the present disclosure, the link connection module230 may initiate establishment of the link connection to the digitaltelevision terminal according to the communication hardware informationof the digital television terminal in the communication connectioninformation of the digital television terminal. If communication withthe digital television terminal further requires other information (suchas a username or password of Wi-Fi), the required information, such as ausername or password of Wi-Fi on which the digital television terminalis located, may also be extracted from the communication connectioninformation obtained from the two-dimensional code image.

The communication pairing module 240 performs communication pairing withthe digital television terminal by means of the established linkconnection.

In this embodiment of the present disclosure, after the link connectionmodule 230 successfully establishes the link connection, thecommunication pairing module 240 can perform communication pairing withthe digital television terminal by means of the successfully establishedcommunication link. Optionally, the communication pairing module 240 mayfurther include: a pairing request sending unit.

The pairing request sending unit sends a pairing authentication requestto the digital television terminal by means of the established linkconnection. The pairing authentication request carries the identityauthentication information obtained by the two-dimensional code decodingmodule 220. The digital television terminal may determine whether theidentity authentication information in the pairing authenticationrequest is the identity authentication information randomly generated bythe digital television terminal. If the identity authenticationinformation in the pairing authentication request is the identityauthentication information randomly generated by the digital televisionterminal, the pairing authentication request is accepted, that is,communication pairing with the mobile terminal succeeds. After pairingbetween the two succeeds, various remote-control signals and datatransmission services can be performed by means of the communicationlink established by the link connection module 230.

According to an embodiment of the present disclosure, the method forcommunication pairing with a digital television terminal shown in FIG. 1may be a method for communication pairing with a digital televisionterminal executed by the digital television terminal shown in FIG. 2 incombination with units of the mobile terminal shown in FIG. 3. Forexample, step S101 shown in FIG. 1 may be performed by the communicationinformation acquiring module 110 shown in FIG. 2. Step S102 shown inFIG. 1 may be performed by the two-dimensional code encoding module 120shown in FIG. 2. Step S103 shown in FIG. 1 may be performed by thedisplay module 130 shown in FIG. 2. Step S104 shown in FIG. 1 may beperformed by the two-dimensional code acquiring module 210 shown in FIG.3. Step S105 shown in FIG. 1 may be performed by the two-dimensionalcode decoding module 220 shown in FIG. 3. Step S106 shown in FIG. 1 maybe performed by the link connection module 140 shown in FIG. 2 and thelink connection module 230 shown in FIG. 3. Step S107 shown in FIG. 1may be performed by the communication pairing module 150 shown in FIG. 2and the communication pairing module 240 shown in FIG. 3.

According to another embodiment of the present disclosure, units of thesystem for communication pairing with a digital television terminalshown in FIG. 4 may be separately or wholly combined into one or severalother units, or one (or more) of the units herein may further be dividedinto multiple units of smaller functions. In this way, same operationscan be implemented, and implementation of the technical effects of theembodiments of the present disclosure is not affected. The foregoingunits are divided based on logical functions. In an actual application,a function of one unit may be implemented by multiple units, orfunctions of multiple units are implemented by one unit. In anotherembodiment of the present disclosure, the system for communicationpairing with a digital television terminal may further include anothermodule. However, in an actual application, these functions may also becooperatively implemented by another unit and may be cooperativelyimplemented by multiple units.

According to another embodiment of the present disclosure, the systemfor communication pairing with a digital television terminal shown inFIG. 4 may be constructed by running a computer program (includingprogram code) that can execute the method for communication pairing witha digital television terminal shown in FIG. 1 on a universal computingdevice, for example, a computer, that includes a processing element anda storage medium, so as to implement the method for communicationpairing with a digital television terminal according to the embodimentsof the present disclosure. The computer program may be recorded on, forexample, a computer readable record medium, and may be mounted in thecomputing device by using the computer readable record medium and run inthe computing device.

The storage medium may include, but is not limited to, a flash memorydrive, a read-only memory (ROM), a random access memory (RAM), amagnetic disk, an optical disc, or the like.

The foregoing describes in detail a mobile terminal according to anembodiment of the present disclosure.

According to another embodiment of the present disclosure, a system forcommunication pairing with a digital television terminal is furtherprovided.

FIG. 4 is a schematic structural diagram of a system for communicationpairing with a digital television terminal according to an embodiment ofthe present disclosure. As shown in the figure, in this embodiment ofthe present disclosure, the system for communication pairing with adigital television terminal may include a digital television terminal 10and a mobile terminal 20.

The digital television terminal 10 may be the digital televisionterminal described above with reference to FIG. 2. The digitaltelevision terminal can acquire communication connection information ofthe digital television terminal. The communication connectioninformation includes communication hardware information of the digitaltelevision terminal, perform encoding according to the communicationconnection information to generate a two-dimensional code image, anddisplay the two-dimensional code image.

The mobile terminal 20 may be the mobile terminal described above withreference to FIG. 3. The mobile terminal 20 can acquire, by using acamera, the two-dimensional code image displayed by the digitaltelevision terminal 10, decode the two-dimensional code image to obtainthe communication connection information of the digital televisionterminal 10, establish a link connection to the digital televisionterminal 10 according to the communication connection information of thedigital television terminal 10, and perform communication pairing withthe digital television terminal 10 by means of the established linkconnection.

It can be known according to the foregoing technical solutions that inthe embodiments of the present disclosure, communication connectioninformation of a digital television terminal is encoded into atwo-dimensional code image, and the two-dimensional code image isdisplayed, so that a mobile terminal can conveniently acquire thecommunication connection information of the digital television terminal,and further communication connection and pairing between the mobileterminal and the digital television terminal are completed simply andconveniently, which greatly simplifies the user operation process.

A person of ordinary skill in the art may understand that all or some ofthe processes of the methods in the foregoing embodiments may beimplemented by a computer program instructing relevant hardware. Theprogram may be stored in a computer readable storage medium. When theprogram is executed, processes of the foregoing method embodiments maybe performed.

Disclosed above is merely preferred embodiments of the presentdisclosure, and certainly the protection scope of the present disclosureis not limited thereto. Therefore, equivalent changes made according tothe claims of the present disclosure shall fall within the scope of thepresent disclosure.

1-20. (canceled)
 21. A method for communication pairing of a digitaltelevision terminal and a mobile terminal, comprising: acquiring, by thedigital television terminal, communication connection information of thedigital television terminal, the communication connection informationcomprising communication hardware information of the digital televisionterminal and identity authentication information; performing, by thedigital television terminal, encoding according to the communicationconnection information to generate a two-dimensional code image;displaying, by the digital television terminal, the two-dimensional codeimage; establishing, by the digital television terminal, a linkconnection to the mobile terminal that acquires the two-dimensional codeimage by using a camera; and performing, by the digital televisionterminal, communication pairing with the mobile terminal based on theestablished link connection and the identity authentication information.22. The method according to claim 21, wherein: the identityauthentication information is randomly generated by the digitaltelevision terminal.
 23. The method according to claim 21, whereinperforming communication pairing with the mobile terminal furthercomprises: acquiring, by the digital television terminal based on theestablished link connection, a pairing authentication request sent bythe mobile terminal; and accepting, by the digital television terminal,the pairing authentication request if the pairing authentication requestcarries the identity authentication information, wherein thecommunication pairing with the mobile terminal succeeds when the pairingauthentication request is accepted.
 24. The method according to claim21, wherein performing encoding according to the communicationconnection information to generate a two-dimensional code imagecomprises: encrypting, by the digital television terminal, thecommunication connection information; and generating, by the digitaltelevision terminal, the two-dimensional code image according to theencrypted communication connection information.
 25. The method accordingto claim 24, wherein encrypting the communication connection informationcomprises: encrypting the communication connection information by usinga preset RSA private key.
 26. A method for communication pairing of adigital television terminal and a mobile terminal, comprising:acquiring, by using a camera, a two-dimensional code image displayed bythe digital television terminal, wherein the digital television terminalencodes communication connection information of the digital televisionterminal to generate the displayed two-dimensional code image; decodingthe two-dimensional code image to obtain the communication connectioninformation of the digital television terminal, the communicationconnection information comprising communication hardware information ofthe digital television terminal and identity authentication information;establishing a link connection to the digital television terminalaccording to the communication connection information of the digitaltelevision terminal; and performing communication pairing with thedigital television terminal based on the established link connection andthe identity authentication information.
 27. The method according toclaim 26, wherein: the identity authentication information is randomlygenerated by the digital television terminal.
 28. The method accordingto claim 26, wherein performing communication pairing with the digitaltelevision terminal further comprises: after the link connection issuccessfully established between the digital television terminal and themobile terminal, sending a pairing authentication request to the digitaltelevision terminal using the established link connection, wherein thepairing authentication request includes the identity authenticationinformation; and when the digital television terminal authenticates andaccepts the pairing authentication request, the communication pairingbetween the digital television terminal and the mobile terminalsucceeds.
 29. The method according to claim 26, wherein decoding thetwo-dimensional code image to obtain communication connectioninformation of the digital television terminal comprises: decoding thetwo-dimensional code image to obtain a decoding result; and decryptingthe decoding result of the two-dimensional code image to obtain thecommunication connection information of the digital television terminal,wherein the communication connection information is encrypted by thedigital television terminal for generating the two-dimensional codeimage.
 30. The method according to claim 29, wherein decrypting adecoding result of the two-dimensional code image to obtain thecommunication connection information of the digital television terminalcomprises: decrypting the decoding result of the two-dimensional codeimage by using a preset RSA public key.
 31. A digital televisionterminal, comprising: a memory; and a processor coupled to the memory,the processor being configured for: acquiring communication connectioninformation of the digital television terminal, the communicationconnection information comprising communication hardware information ofthe digital television terminal and identity authentication information;performing encoding according to the communication connectioninformation to generate a two-dimensional code image; displaying thetwo-dimensional code image; establishing a link connection to the mobileterminal that acquires the two-dimensional code image by using a camera;and performing communication pairing with the mobile terminal based onthe established link connection and the identity authenticationinformation.
 32. The digital television according to claim 31, wherein:the identity authentication information is randomly generated by thedigital television terminal.
 33. The digital television according toclaim 31, wherein the processor is further configured for: acquiring,based on the established link connection, a pairing authenticationrequest sent by the mobile terminal; and accepting the pairingauthentication request if the pairing authentication request carries theidentity authentication information, wherein the communication pairingwith the mobile terminal succeeds when the pairing authenticationrequest is accepted.
 34. The digital television terminal according toclaim 31, wherein the processor is further configured for: encryptingthe communication connection information; and generating thetwo-dimensional code image according to the encrypted communicationconnection information.
 35. The digital television terminal according toclaim 34, wherein the processor is further configured for encrypting thecommunication connection information by using a preset RSA private key.36. A mobile terminal, comprising: a camera; a memory; and a processorcoupled to the memory, the processor being configured for: acquiring, byusing the camera, a two-dimensional code image displayed by the digitaltelevision terminal, wherein the digital television terminal encodescommunication connection information of the digital television terminalto generate the displayed two-dimensional code image; decoding thetwo-dimensional code image to obtain the communication connectioninformation of the digital television terminal, the communicationconnection information comprising communication hardware information ofthe digital television terminal and identity authentication information;establishing a link connection to the digital television terminalaccording to the communication connection information of the digitaltelevision terminal; and performing communication pairing with thedigital television terminal based on the established link connection andthe identity authentication information.
 37. The mobile terminalaccording to claim 36, wherein: the identity authentication informationis randomly generated by the digital television terminal.
 38. The mobileterminal according to claim 36, wherein the processor is furtherconfigured for: after the link connection is successfully establishedbetween the digital television terminal and the mobile terminal, sendinga pairing authentication request to the digital television terminalusing the established link connection, wherein the pairingauthentication request includes the identity authentication information;and when the digital television terminal authenticates and accepts thepairing authentication request, the communication pairing between thedigital television terminal and the mobile terminal succeeds.
 39. Themobile terminal according to claim 36, wherein the processor is furtherconfigured for: decoding the two-dimensional code image to obtain adecoding result; and decrypting the decoding result of thetwo-dimensional code image to obtain the communication connectioninformation of the digital television terminal, wherein thecommunication connection information is encrypted by the digitaltelevision terminal for generating the two-dimensional code image. 40.The mobile terminal according to claim 39, wherein the processor isfurther configured for: decrypting the decoding result of thetwo-dimensional code image by using a preset RSA public key.